class AddCustomerReference < ActiveRecord::Migration
  def self.up
	remove_column :customers, :type
	add_column  :customers, :customerclass_id, :integer
	add_column  :customers, :customerclass_type, :string
  end

  def self.down
	add_column :customers, :type, :string
	remove_column  :customers, :customerclass_id
	remove_column  :customers, :customerclass_type
  end
end
